15e9a31b0c61bc9d75fee27189f8151f62a57c40,app/src/processing/app/contrib/StatusPanel.java,StatusPanel,StatusPanel,#number#ContributionTab#,65

Before Change


        }
      }
    });
    installButton =
      new JButton("Install", Toolkit.getLibIconX("manager/install"));
    installButton.setFont(Toolkit.getSansFont(14, Font.PLAIN));
    installButton.setHorizontalAlignment(SwingConstants.LEFT);
//    installButton.setContentAreaFilled(false);
//    installButton.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createLineBorder(Color.BLACK, 1),BorderFactory.createEmptyBorder(3, 0, 3, 0)));
    installButton.addActionListener(new ActionListener() {

      @Override
      public void actionPerformed(ActionEvent e) {
        installButton.setEnabled(false);
        ContributionPanel currentPanel = contributionTab.contributionListPanel
          .getSelectedPanel();
        currentPanel.install();
        StatusPanel.this.update(currentPanel);
      }
    });
    progressBarPanel = new JPanel();
    progressBarPanel.setLayout(new BorderLayout());
    progressBarPanel.setOpaque(false);
    updateLabel = new JLabel(" ");
    updateLabel.setFont(Toolkit.getSansFont(14, Font.PLAIN));
    updateLabel.setHorizontalAlignment(SwingConstants.CENTER);
    updateButton =
      new JButton("Update", Toolkit.getLibIconX("manager/update"));

After Change


  public StatusPanel(int width, final ContributionTab contributionTab) {
    if (foundationIcon == null) {
      foundationIcon = Toolkit.getLibIconX("icons/foundation", 32);
      installIcon = Toolkit.getLibIconX("manager/install");
      updateIcon = Toolkit.getLibIconX("manager/update");
      removeIcon = Toolkit.getLibIconX("manager/remove");
      buttonFont = Toolkit.getSansFont(14, Font.PLAIN);
    }

    setBackground(new Color(0xebebeb));
//    setBorder(BorderFactory.createMatteBorder(2, 0, 0, 0, Color.BLACK));
    this.contributionTab = contributionTab;

    iconLabel = new JLabel();
    iconLabel.setHorizontalAlignment(SwingConstants.CENTER);

    label = new JTextPane();
    label.setEditable(false);
    label.setOpaque(false);
    label.setContentType("text/html");
    bodyRule = "a, body { font-family: " + ContributionManagerDialog.font.getFamily() + "; " +
            "font-size: " + ContributionManagerDialog.font.getSize() + "pt; color: black; text-decoration: none;}";
    label.addHyperlinkListener(new HyperlinkListener() {

      @Override
      public void hyperlinkUpdate(HyperlinkEvent e) {
        if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
          if (e.getURL() != null) {
            Platform.openURL(e.getURL().toString());
          }
        }
      }
    });
    installButton = new JButton("Install", installIcon);
    installButton.setDisabledIcon(installIcon);
    installButton.setFont(buttonFont);
    installButton.setHorizontalAlignment(SwingConstants.LEFT);
    installButton.addActionListener(new ActionListener() {